﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SmartDeviceProject1
{
    public partial class frmMain : Form
    {
        private string str;

        public frmMain()
        {
            InitializeComponent();
        }

        private void mnuClose_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void mnuInkClear_Click(object sender, EventArgs e)
        {
            signature1.Clear();
        }

        private void mnuSetInk_Click(object sender, EventArgs e)
        {
            signature1.DeSerialize(str);
        }

        private void mnuGetInk_Click(object sender, EventArgs e)
        {
            str = signature1.Serialize();
            
        }
    }
}